package com.molichuxing.gateway.bff.dealer.services;

import com.molichuxing.gateway.bff.dealer.entity.request.create.FenceCreateVo;
import com.molichuxing.gateway.bff.dealer.entity.request.modify.FenceModifyVo;
import com.molichuxing.gateway.bff.dealer.entity.response.FenceVo;

import java.util.List;

/**
 * 围栏信息相关bff
 *
 * @author zhaopenghui
 * @date 2020年2月21日
 */
public interface FenceBffService {

    /**
     * 获取已有围栏列表
     *
     * @param storeId
     * @param type
     * @return
     */
    List<FenceVo> getBindingFenceList(Integer storeId, Integer type);

    /**
     * 获取可添加围栏列表
     *
     * @param storeId
     * @param type
     * @return
     */
    List<FenceVo> getUnBindingFenceList(Integer storeId, Integer type);

    /**
     * 解除围栏
     *
     * @param fenceModifyVo
     * @return
     */
    Boolean deleteFence(FenceModifyVo fenceModifyVo);

    /**
     * 添加围栏
     *
     * @param fenceCreateVo
     * @return
     */
    Boolean createFence(FenceCreateVo fenceCreateVo) throws Exception;


}
